package com.youhome.service.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.youhome.service.model.BShareGroup;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by chen365 on 2017/11/2.
 */
@Data
@JsonSerialize(include= JsonSerialize.Inclusion.NON_NULL)
public class ShareResult implements Serializable {

    private String uuid;

    private Integer level;

    private BShareGroup share;

    private boolean skip = true;

    public ShareResult() {

    }

    public ShareResult(String uuid, Integer level, BShareGroup share,boolean skip) {
        this.uuid = uuid;
        this.level = level;
        this.share = share;
        this.skip = skip;
    }
}
